package com.yc.rh.entities;

public class PageInfo {
	private Integer min;
	private Integer max;
	
	@Override
	public String toString() {
		return "PageInfo [min=" + min + ", max=" + max + "]";
	}

	public Integer getMin() {
		return (min-1)*max;
	}

	public void setMin(Integer min) {
		this.min = min;
	}

	public Integer getMax() {
		return min*max;
	}

	public void setMax(Integer max) {
		this.max = max;
	}
}
